package com.kgc.ljp.server.entity;

import java.io.Serializable;

/**
 * 卡牌类，父类
 */
public abstract class PokeCard implements Serializable {
    //名称
    private String name;
    //攻击
    private int power;
    //血量
    private int blood;
    //防御
    private int defense;
    //技能
    private String skill;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public int getDefense() {
        return defense;
    }

    public void setDefense(int defense) {
        this.defense = defense;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public PokeCard() {

    }

    public PokeCard(String name, int power, int blood, int defense, String skill) {

        this.name = name;
        this.power = power;
        this.blood = blood;
        this.defense = defense;
        this.skill = skill;
    }

    /**
     * 显示方法
     */

    public abstract void print();
}
